package cn.angis.system.model;

import lombok.Data;
import org.sagacity.sqltoy.config.annotation.Column;
import org.sagacity.sqltoy.config.annotation.Entity;

import java.io.Serializable;

/**
* 包名称：cn.angis.system.model
* 类名称：Roledept
* 类描述：
* 创建人：@author angis.cn
* 创建日期： 2023-01-06
*/
@Entity(tableName="sys_role_dept")
@Data
public class Roledept implements Serializable {

	private static final long sserialVersionUID = 1L;

	public Roledept(){}
	public Roledept(String roleId,String deptId) {
		this.deptId = deptId;
		this.roleId = roleId;
	}
	/**
	 * 角色id
	 */

	@Column(name = "role_id")
	private String roleId;

	/**
	 * 部门id
	 */

	@Column(name = "dept_id")
	private String deptId;

}